The lambda-calculus is nominal alge- braic

نویسندگان

  • Murdoch J. Gabbay
  • Aad Mathijssen
چکیده

In this paper we will write -[a 7→ -] as shorthand for (λa.-)-. Thus g[a 7→ h] stands for (λa.g)h and not for the term resulting from ‘substituting h for a in g’ (we write that as g[h/a], see Definition 44). The λ-calculus represents functions in programming languages [Pau96, Tho96], logic [Bar77, Lei94], theorem-provers [ABI96, Pau89], higher-order rewriting [BN98], and much more besides. However, the ‘λ’ in the λ-calculus has proved resistent to a treatment in universal algebra [BS81]. For example the property that “(λa.g)[b 7→ h] = λa.(g[b 7→ h]) when a does not occur free in h” cannot be represented in an algebraic framework, at least not obviously so, because of the freshness condition ‘a does not occur free in h’ which is necessary to avoid ‘accidental capture’ by λ. Similarly for the property “λa.(ga) = g when a does not occur free in g”. Nominal algebra is a form of universal algebra enriched with primitive constructs to handle names, binding, and freshness conditions — just like those that appear in informal specifications of the λ-calculus and other languages with binders. Nominal algebra has the feature that, thanks to the enriched constructs, it allows fully formal algebraic reasoning which

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Fixed-point elimination in the Intuitionistic Propositional Calculus (extended version)

It is a consequence of existing literature that least and greatest fixed-points of monotone polynomials on Heyting algebras-that is, the alge- braic models of the Intuitionistic Propositional Calculus-always exist, even when these algebras are not complete as lattices. The reason is that these extremal fixed-points are definable by formulas of the IPC. Consequently, the $\mu$-calculus based on ...

متن کامل

A Nominal Axiomatization of the Lambda Calculus

The lambda calculus is fundamental in computer science. It resists an algebraic treatment because of capture-avoidance sideconditions. Nominal algebra is a logic of equality designed for specifications involving binding. We axiomatize the lambda calculus using nominal algebra, demonstrate how proofs with these axioms reflect the informal arguments on syntax and we prove the axioms to be sound a...

متن کامل

A nominal axiomatisation of the lambda-calculus

The lambda-calculus is a fundamental syntax in computer science. It resists an algebraic treatment because of captureavoidance side-conditions. Nominal algebra is a logic of equality designed with formalisation of specifications involving binding in mind. In this paper we axiomatise the lambda-calculus using nominal algebra, demonstrate how proofs with these axioms reflect the informal argument...

متن کامل

Representation and duality of the untyped lambda-calculus in nominal lattice and topological semantics, with a proof of topological completeness

We give a semantics for the λ-calculus based on a topological duality theorem in nominal sets. A novel interpretation of λ is given in terms of adjoints, and λ-terms are interpreted absolutely as sets (no valuation is necessary).

متن کامل

Two-level Lambda-calculus

Two-level lambda-calculus is designed to provide a mathematical model of capturing substitution, also called instantiation. Instantiation is a feature of the ‘informal meta-level’; it appears pervasively in specifications of the syntax and semantics of formal languages. The two-level lambda-calculus has two levels of variable. Lambda-abstraction and beta-reduction exist for both levels. A level...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008